Skip to content

VSB-TUO/feat: SAF Import/Update – embargo improvements & item page display#1258

Merged
milanmajchrak merged 2 commits intocustomer/vsb-tuofrom
vsb-tuo/edison-update
Mar 19, 2026
Merged

VSB-TUO/feat: SAF Import/Update – embargo improvements & item page display#1258
milanmajchrak merged 2 commits intocustomer/vsb-tuofrom
vsb-tuo/edison-update

Conversation

@milanmajchrak
Copy link
Collaborator

Problem description

  1. Item page – embargo fields – Added dc.description.embargo ("Delayed publication" / "Odložené zveřejnění") and dc.date.embargoend ("Available after" / "Zveřejnění") to all 4 item view templates.

FE modified files

  • untyped-item.component.html (×2), publication.component.html (×2)
  • en.json5, cs.json5

Analysis

(Write here, if there is needed describe some specific problem. Erase it, when it is not needed.)

Problems

(Write here, if some unexpected problems occur during solving issues. Erase it, when it is not needed.)

Sync verification

If en.json5 or cs.json5 translation files were updated:

  • Run yarn run sync-i18n -t src/assets/i18n/cs.json5 -i to synchronize messages, and changes are included in this PR.

Manual Testing (if applicable)

Copilot review

  • Requested review from Copilot

…age feat: add CZ/EN i18n labels for embargo fields
Copilot AI review requested due to automatic review settings March 18, 2026 14:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds embargo metadata to the simple item page views (both default and custom theme) by rendering two additional metadata fields and introducing corresponding i18n labels.

Changes:

  • Display dc.description.embargo (“Delayed publication”) on untyped item and publication simple pages.
  • Display dc.date.embargoend (“Available after”) on untyped item and publication simple pages.
  • Add new i18n keys for the embargo statement/date labels (EN + CS).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.html Renders embargo statement and embargo end date fields in the custom theme untyped item page.
src/themes/custom/app/item-page/simple/item-types/publication/publication.component.html Renders embargo statement and embargo end date fields in the custom theme publication page.
src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html Renders embargo statement and embargo end date fields in the default untyped item page.
src/app/item-page/simple/item-types/publication/publication.component.html Renders embargo statement and embargo end date fields in the default publication page.
src/assets/i18n/en.json5 Adds EN labels for the embargo statement/date fields.
src/assets/i18n/cs.json5 Adds CS labels for the embargo statement/date fields.

You can also share your feedback on Copilot code review. Take the survey.

@milanmajchrak milanmajchrak merged commit 64cb53b into customer/vsb-tuo Mar 19, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants